var myArray = [
"Apples",
"Bananas",
"Pears"
];
var randomItem = myArray[Math.floor(Math.random()*myArray.length)];
var items = ['Yes', 'No', 'Maybe'];
var item = items[Math.floor(Math.random() * items.length)];
const randomElement = array[Math.floor(Math.random() * array.length)];
Math.random().toString(36).substr(2, 5);